﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2006.ShoppingSite.Domain
{


    


    [Table("tb_member_address")]
    public class MemberAddressEntity : AuditField<Guid>
    {
        public Guid MemberId { get; set; }
        public string? Name { get; set; }

        //private string _name;
        //public string Name { 
        //    get {
        //        if (_name.Equals("lcg"))
        //            return "i love you";
        //        else
        //            return _name; 
        //    } 
        //    set { _name = value; } 
        //}

        public string? Phone { get; set; }
        public string? Address { get; set; }
        public string? Provite { get; set; }
        public string? City { get;set; }
        public string? Area { get; set; }
        public string IsDefault { get; set; } = "0"; //1为默认

    }
}
